/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package clip.net;

import clip.model.ClipboardSnapshot;
import java.net.URL;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

/**
 *
 * @author admin
 */
public interface RMIApiInterface extends Remote {
    public static enum Status {DISCONNECT, CONNECT, NEWCLIPBOARD};
    public ClipboardSnapshot getClipboardSnapshot() throws RemoteException;
    //public void getStreamFor(DataFlavor df); 
    public void notifyStatusChanged(Status status) throws RemoteException;
    public boolean checkConnectionAlive() throws RemoteException; //returns true!!
    public String getTestString() throws RemoteException;
    public boolean receiveMessage(String message) throws RemoteException;
    
    public List<FileInfo> getSharedFiles() throws RemoteException;
 
}
